package cn.bluemobi.app.mapper;

import java.util.List;
import java.util.Map;

import cn.bluemobi.app.entity.output.BankCard;
import cn.bluemobi.app.entity.output.Member;
import cn.bluemobi.app.entity.output.Team;
import cn.bluemobi.app.entity.output.Withdrawals;

public interface MemberMapper {
	Member getMemberInfo(Map<String, Object> params);

	int checkIsExistCellphone(String cellphone);

	int register(Map<String, Object> params);

	int updateMemberTotalTeamNumber(Map<String, Object> params);

	int forgetPassword(String password, String cellphone);

	int updatePersonDetail(String headImg, String nickName, String sex,
			String memberId);

	List<BankCard> findBankCardList(Map<String, Object> params);

	int insertBankCard(String memberId, String bankCardNumber,
			String reservedName, String bankName, String bankBranch);

	int deleteBankCard(String bankCardId);

	BankCard findBankCardInfo(String bankCardId);

	void insertWithdrawals(String memberId, String bankCardNumber,
			String reservedName, String bankName, String bankBranch,
			String money, String brokerage, String payMoney);

	List<Withdrawals> findWithdrawalsList(Map<String, Object> params);

	int insertIdentification(String memberId, String name, String idCardNumber,
			String idCardImg);

	List<Team> findTeamList(Map<String, Object> params);

}
